package com.rd.student.jiaji.class4.suyan.zrrd.day07;

public class Cartest05 {
    public static void main(String[] args) {
        Car c=new Car();
        Car c1=new Car("Bwm","白色");
        System.out.println("c对象的成员变量值");
        System.out.println(c.getColor());
        System.out.println(c.getName());
        System.out.println("c1对象的成员变量值");
        System.out.println(c1.getName());
        System.out.println(c1.getColor());
    }
}
